package com.cyh;

import java.lang.annotation.*;

//定义一个注解
@Target(value = ElementType.METHOD)
@Retention(value = RetentionPolicy.RUNTIME) //自定义的注解一般都是RUNTIME
@Inherited //子类可以继承父类的注解
public @interface MyAnnotation01 {

}
